package com.itheima01;

public class MyInterfaceDemo {
    public static void main(String[] args) {
        // 按照多态的形式创建对象
        MyInterface mi1 = new MyInterfaceLmplOne();
        mi1.show1();
        mi1.show2();
        mi1.show3();
        System.out.println("--------");

        MyInterface mi2 = new MyInterfaceLmplTwo();
        mi2.show1();
        mi2.show2();

    }
}
